package com.farm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * 启动程序
 * 
 * @author
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@MapperScan(value = {"com.cyb.*.mapper","com.farm.*.*.mapper"})
@ComponentScan(value = {"com.cyb", "com.farm"} )
public class FarmApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(FarmApplication.class, args);
        System.out.println("杨迪毕设启动成功 666!!!");
    }
}
